package com.sikaryofficial.backend.domain.dto.req.information;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 文章审核请求入参
 *
 * @author qinjinyuan
 * @date 2024-04-10
 */
@Getter
@Setter
@ToString
@ApiModel(value = "文章审核请求入参", description = "文章审核请求入参")
public class ArticleAuditReq {
    @ApiModelProperty(value = "文章ID", example = "1")
    @NotNull(message = "the articleId is null")
    @Min(value = 0, message = "articleId could not less than 0")
    private Long articleId;
    /**
     * 审核状态:0-草稿,1-审核中(点击发布),2-审核通过(发布成功),3-审核不通过
     */
    @ApiModelProperty(value = "审核状态:0-草稿,1-审核中(点击发布),2-审核通过(发布成功),3-审核不通过")
    private Integer auditStatus;

    @ApiModelProperty(value = "备注")
    private String remark;
}
